package com.example.a22310.myapplication.ViewModel.Club;

import android.support.v7.app.AppCompatActivity;
import android.view.View;

public class ClubDetailViewModel{
    private ActivityClubDetailBinding binding;
    private AppCompatActivity activity;


    public ClubDetailViewModel(AppCompatActivity activity, ActivityClubDetailBinding binding){
        this.activity = activity;
        this.binding = binding;
        binding.setModel(this);
    }

    public void OnClickBack(View view) {
        activity.onBackPressed();
    }

}
